home *** CD-ROM | disk | FTP | other *** search
/ Zodiac 50 Game Pack 2 / Zodiac 50 Game Pack 2.iso / cchecker / install.fil < prev    next >
Text File  |  1992-10-30  |  6KB  |  273 lines

  1. ' Chinese Checkers Shareware Installation Script
  2. ' Copyright 1992, ImagiSOFT, Inc.
  3. ' November 1, 1992
  4.  
  5. ' Note:  This installation script is written for THE FINISHING TOUCH, a
  6. '        professional installation program which is also an ImagiSOFT
  7. '        product.  It is distributed with Chinese Checkers to make installation
  8. '        easier -- especially for disk vendors.  Disk vendors may want to
  9. '        change the first window to their name instead of ImagiSOFT's name.
  10.  
  11. '        This script does not unpack compressed files which is a
  12. '        major feature of the program.  For more information about
  13. '        THE FINISHING TOUCH, call ImagiSOFT at (505) 275-1920.
  14.  
  15. '        You can download the shareware version from Software Creations BBS:
  16. '              (508) 368-7036  2400 - 9600 Baud, N, 8, 1  (33 lines)
  17. '        Download the file FINISH22.ZIP.
  18.  
  19. '        Our personal BBS number is (505) 275-9697  2400, N, 8, 1 (1 line).
  20.  
  21.  
  22. BACKGROUND 63
  23. TELESCOPE OFF
  24.  
  25. WINOPEN 0 2 95
  26.  
  27. ' ATTENTION VENDORS:
  28. ' Feel free to change the top two lines of this window to your message:
  29.  
  30. "             ImagiSOFT, Inc."
  31. "Where Imagination Brings Software to Life"
  32. ""
  33. ""
  34. "          Installation Program"
  35. WINUPDATE +3 +4 94
  36. "CHINESE CHECKERS SHAREWARE VERSION 2.1"
  37.  
  38. TELESCOPE ON
  39. SHADOW ON
  40. SPACE 360
  41.  
  42. VIDEO EGA                       ' requires EGA (or better) monitor
  43. JUMP.NO NO_EGA
  44.  
  45. MEMORY 640
  46. JUMP.NO NO_MEM
  47.  
  48. :PROMPT
  49. DRIVE C 0 11 31 15 32 14 79
  50. PATH \CHINESE 0 11 31 15 32 14 79
  51.  
  52. EXIST ~1~2\*.*
  53. JUMP.NO UNPACK
  54.  
  55. EXIST ~1~2\CHINESE.EXE
  56. JUMP.YES UNPACK
  57.  
  58. WINOPEN 0 11 79
  59. "The directory ~1~2 already exists and contains files!"
  60. ""
  61. "   Installing Chinese Checkers in this directory will"
  62. ""
  63. "       in this directory prior to installing."
  64. ""
  65. "Are you SURE you want to install it here   Y or N?"
  66. WINUPDATE +45 +7 78
  67. "Y or N?"
  68. WINUPDATE +17 +4 78
  69. "DELETE ALL THE FILES"
  70. BEEP
  71. ASK +52 +7
  72. WINCLOSE
  73. JUMP.NO PROMPT
  74.  
  75. :UNPACK
  76. PROMPT OFF
  77. DELETE ~1~2\*.* 1 24 51
  78. PROMPT ON
  79. COPY ~0\CHINESE.* ~1~2\ 0 12 31
  80. JUMP.FAIL INSTALL_FAILURE
  81. COPY ~0\CC*.* ~1~2\ 0 12 31
  82. COPY ~0\VENDOR.DOC ~1~2\ 0 12 31
  83. COPY ~0\*.ME ~1~2\ 0 12 31
  84.  
  85. ' ---------------------------------
  86. ' should we write batch file y / n?
  87. ' ---------------------------------
  88.  
  89. WINOPEN 0 11 31
  90. "Most people prefer having a batch file created which makes"
  91. "running Chinese Checkers easier.  If you answer YES to the"
  92. "next question, we will write the file ~1\CHINESE.BAT"
  93. "so that you can run Chinese Checkers from the root directory"
  94. "by entering the simple command: CHINESE."
  95. ""
  96. "Do you want us to write this batch file for you   Y or N?"
  97. WINUPDATE +40 +3 27
  98. "~1\CHINESE.BAT"
  99. WINUPDATE +34 +5 27
  100. "CHINESE"
  101. WINUPDATE +52 +7 30
  102. "Y or N?"
  103. ASK +59 +7
  104. WINCLOSE
  105. JUMP.NO DONE2
  106.  
  107. ' ----------------
  108. ' write batch file
  109. ' ----------------
  110.  
  111. EXIST ~1\CHINESE.BAT
  112. JUMP.NO DOS_PROMPT
  113. PROMPT OFF
  114. DELETE ~1\CHINESE.BAT 1 24 51
  115. PROMPT ON
  116.  
  117. :DOS_PROMPT
  118. DOS 3.3
  119. JUMP.NO OLD_DOS
  120.  
  121. FILE ~1\CHINESE.BAT
  122. "@~1"
  123. "@cd ~2"
  124. "@chinese"
  125. "@cd \"
  126. JUMP DONE
  127.  
  128. :OLD_DOS
  129. FILE ~1\CHINESE.BAT
  130. "echo off"
  131. "~1"
  132. "cd ~2"
  133. "cls"
  134. "chinese"
  135. "cd \"
  136.  
  137.  
  138. ' -----------------------
  139. ' successfully installed!
  140. ' -----------------------
  141.  
  142. :DONE
  143.  
  144. SHADOW ON
  145. WINOPEN 0 11 31
  146. "CHINESE CHECKERS HAS BEEN SUCCESSFULLY INSTALLED."
  147. "   To run it, enter the command  CHINESE"
  148. "   from the root directory of drive ~1."
  149. ""
  150. ""
  151. ""
  152. ""
  153. "Press the [Enter] key to continue."
  154. WINUPDATE +35 +2 30
  155. "CHINESE"
  156. WINUPDATE +5 +5 27
  157. "THANK YOU FOR CHOOSING OUR SOFTWARE!"
  158. WAIT +36 +8
  159. WINCLOSE
  160. JUMP RUN_IT
  161.  
  162. ' -------------------------------------------------
  163. ' successfully installed (version 2, no batch file)
  164. ' -------------------------------------------------
  165.  
  166. :DONE2
  167.  
  168. SHADOW ON
  169. WINOPEN 0 11 31
  170. "CHINESE CHECKERS HAS BEEN SUCCESSFULLY INSTALLED."
  171. "   To run it, enter the command  CHINESE"
  172. "   from the ~1~2 directory."
  173. ""
  174. ""
  175. ""
  176. ""
  177. "Press the [Enter] key to continue."
  178. WINUPDATE +35 +2 30
  179. "CHINESE"
  180. WINUPDATE +5 +5 27
  181. "THANK YOU FOR CHOOSING OUR SOFTWARE!"
  182. WAIT +36 +8
  183. WINCLOSE
  184.  
  185. :RUN_IT
  186. WINOPEN 0 11 31
  187. "Would you like to run CHINESE CHECKERS Right Now   Y or N?"
  188. WINUPDATE +53 +1 30
  189. "Y or N?"
  190. ASK +60 +1
  191. JUMP.NO EXIT
  192.  
  193. EXIST ~1\CHINESE.BAT
  194. JUMP.NO EXE_RUN
  195. RUN ~1\CHINESE.BAT
  196. :EXE_RUN
  197. RUN ~1~2\CHINESE.EXE
  198.  
  199. :EXIT
  200.  
  201. END
  202.  
  203. :INSTALL_FAILURE
  204.  
  205. WINOPEN 0 11 79
  206.  
  207. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION!"
  208. ""
  209. "Possible reasons:"
  210. "   -- The floppy disk was damaged during shipping."
  211. "   -- Your disk drive is out of alignment."
  212. "   -- The floppy disk was removed prior to completion."
  213. ""
  214. "Press [Enter] to remove incomplete program files."
  215.  
  216. WAIT +50 +8
  217.  
  218. PROMPT OFF
  219. DELETE ~1~2\*.* 0 0 31
  220. RD ~1~2
  221. DELETE ~1\CHINESE.BAT 0 0 31
  222. PROMPT ON
  223.  
  224. WINCLOSE
  225. WINCLOSE
  226.  
  227. WINOPEN 0 0 31
  228.  
  229. "PARTIALLY INSTALLED FILES ARE NOW DELETED."
  230. ""
  231. "Please try to install the software again."
  232. ""
  233. "If you get this error message again, please contact us"
  234. "and we will send you a new disk."
  235. "
  236. "     ImagiSOFT, Inc."
  237. "     Computer Games Division"
  238. "     P.O. Box 13208"
  239. "     Albuquerque, NM   87192"
  240. "     (800) 767-1978"
  241. ""
  242. "Press [Enter] to Quit."
  243.  
  244. WAIT +14 +24
  245. END
  246.  
  247.  
  248. :NO_EGA
  249.  
  250. WINOPEN 0 11 79
  251.  
  252. "CHINESE CHECKERS REQUIRES AN EGA (OR BETTER) MONITOR TO RUN."
  253. "Sorry, but it won't run on your computer."
  254. ""
  255. "      Press [Enter] to Quit."
  256.  
  257. WAIT +29 +4
  258. END
  259.  
  260.  
  261. :NO_MEM
  262.  
  263. WINOPEN 0 11 79
  264.  
  265. "CHINESE CHECKERS REQUIRES 640K MEMORY TO RUN."
  266. "Sorry, but it won't run on your computer."
  267. ""
  268. "      Press [Enter] to Quit."
  269.  
  270. WAIT +29 +4
  271. END
  272.  
  273.